<%@page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="/include/head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑用户</title>
<script type="text/javascript">
$(document).ready(function(){
	initView("${action}", null);
});
</script>
<%--<script type="text/javascript" src="js/label/jquery.js"></script>--%>
<link href="js/label/css/lanrenzhijia.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/label/lanrenzhijia.js"></script>



	
</head>
<body>
	<form id="form" enctype="multipart/form-data" onsubmit="return iframeCallback(this,closeCurrent);" action="cygs/editCygsEmp.do?funId=${funId}" method="post" >
    	<div class="pageContent"  layoutH="35">
			<div class="tabs">
				<div class="tabsHeader">
					<div class="tabsHeaderContent">
						<ul>
							<li><a><span>创业者基础信息</span></a></li>
						</ul>
					</div>
				</div>
				<div class="tabsContent"  layoutH="74">
				
				<div class="pageFormContent">   
				        <fieldset class="2_ fieldset"> 
				            <dl class="nowrap">
					        	<dt>创业者姓名：</dt>
							    <dd>
							    	<input class="required textInput valid" type="text" alt="" value="${object.empName }" size="30" name="empName"/>
					            	<input type="hidden" name="id" value="${object.id }"/>
					            </dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>手机（登录帐号）：</dt>
							    <dd><input class="required textInput valid" type="text" alt="" value="${object.mobile }" size="30" name="mobile" ${object.id!=null?"readonly":""}></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>所属单位：</dt>
							    <dd>
							    <input type="hidden" name="orgId" id="orgId" value="${object.orgId}"/>
							    <input class="required textInput valid" type="text" alt="" value="${object.orgName}" size="30" id="orgName" name="orgName"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>职务：</dt>
							    <dd><input class="required textInput valid" type="text" alt="" value="${object.zw }" size="30" name="zw"></input></dd>
							</dl>
				            
				            <dl class="nowrap">
					        	<dt>职称：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.zc }" size="30" name="zc"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>学历：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.education }" size="30" name="education"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>专业：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.major }" size="30" name="major"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>地址：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.address }" size="30" name="address"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>电话：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.tel }" size="30" name="tel"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>邮箱：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.email }" size="30" name="email"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>QQ：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.qq }" size="30" name="qq"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>微信：</dt>
							    <dd><input class="textInput valid" type="text" alt="" value="${object.wx }" size="30" name="wx"></input></dd>
							</dl>
				            <dl class="nowrap">
					        	<dt>备注：</dt>
					        	<dd><textarea name="remark" cols="100" rows="8" maxlength="500">${order.remark}</textarea></dd>
					        </dl>
						</fieldset>
					</div>
			</div>
			<div class="tabsFooter">
				<div class="tabsFooterContent"></div>
			</div>
		</div>
	</div>
				
    <div class="formBar">
         <ul>
         		<input type="hidden" id="approveStatus" name="approveStatus" />
             	<li><div class="button"><div class="buttonContent"><button type="submit" onclick="$('#approveStatus',navTab.getCurrentPanel()).val('UNSUBMIT'); initLabel(); ">保存</button></div></div></li>
            <c:if test="${'submit'==todo}">
             	<li><div class="button"><div class="buttonContent"><button type="submit" onclick="$('#approveStatus',navTab.getCurrentPanel()).val('SUBMITED'); initLabel(); ">保存并提交</button></div></div></li>
            </c:if>
         	<c:if test="${'approve'==todo}">
            	<li>审核意见：<input id="approveDesc" class="textInput valid approveObj" type="text" alt="" size="30" name="approveDesc"></input></li>
            	<li><div class="button"><div class="buttonContent"><button type="submit" onclick="$('#approveStatus',navTab.getCurrentPanel()).val('APPROVED'); return isConfirm('是否确认审核通过？');">审核通过</button></div></div></li>
             	<li><div class="button"><div class="buttonContent"><button type="submit" onclick="$('#approveStatus',navTab.getCurrentPanel()).val('REJECTED'); return isConfirm('是否确认审核驳回？');">审核驳回</button></div></div></li>
			</c:if>
			
             <li> <div class="button"><div class="buttonContent"><button class="close" type="button">取消</button></div></div></li>
         </ul>
    </div>
</form>

</body>
	<script type="text/javascript">
	
	$(document).ready(function(){
		initView("${action}","${readyMsg}");
		
		
		setEmp = function (event, ui) { 
	        if (ui != null && ui.item != null) { 
	            $("#dsEmpId",navTab.getCurrentPanel()).val(ui.item.id); 
	        } 
	    };
	    
		$("#dsName",navTab.getCurrentPanel()).autocomplete({
			source: getDsEmp,
			minLength:2,
			select: setEmp
		});
		
		//$("#saleOrderItemPage",navTab.getCurrentPanel()).loadUrl("order/saleOrderItemPager.do?orderId=${object.id}");
		
	});
	initLabel = function(){
/* 		var labelMain = "";
		var labelOffice = "";
		$(".plus-tag a").each(function(){
			var labelType = $(this).attr("value");
			var label = $(this).attr("title");
			if("labelMainText"==labelType){
				labelMain = labelMain + "," + label;
			}else if("labelOfficeText"==labelType){
				labelOffice = labelOffice+ "," + label;
			}
		})
		$('#labelMain',navTab.getCurrentPanel()).val(labelMain);
		$('#labelOffice',navTab.getCurrentPanel()).val(labelOffice); */
	};


</script>
</html>

